package com.adingxiong.security.springsecurity.entity;

import java.io.Serializable;

/**
 * @ClassName MyUser
 * @Description TODO
 * @Author xiongchao
 * @Date 2020/10/16 9:14
 **/

public class MyUser implements Serializable {

    private String username;

    private String passsword;

    private boolean accoutNonExpire = true;

    private boolean accoutNoLock = true;

    private boolean credentialsNonExpired = true;

    private boolean enable =true;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPasssword() {
        return passsword;
    }

    public void setPasssword(String passsword) {
        this.passsword = passsword;
    }

    public boolean isAccoutNonExpire() {
        return accoutNonExpire;
    }

    public void setAccoutNonExpire(boolean accoutNonExpire) {
        this.accoutNonExpire = accoutNonExpire;
    }

    public boolean isAccoutNoLock() {
        return accoutNoLock;
    }

    public void setAccoutNoLock(boolean accoutNoLock) {
        this.accoutNoLock = accoutNoLock;
    }

    public boolean isCredentialsNonExpired() {
        return credentialsNonExpired;
    }

    public void setCredentialsNonExpired(boolean credentialsNonExpired) {
        this.credentialsNonExpired = credentialsNonExpired;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
